package com.yunban.project.api.text_check.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: lijiajun
 * @date: 2025-03-13
 * @version: 1.0
 */
@Data
@Schema(description = "临时文本纠错记录")
public class TempCorrectRecord implements Serializable {
    @TableId(type = IdType.ASSIGN_UUID)
    private String taskId;
    private String text;
    private String prompt;
    private String result;
    private boolean finished = false;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
